﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiMinCRMPlugin.InterfaceDocking
{
    /// <summary>
    /// 销售订单MODEL
    /// </summary>
    public class SaleOrderDeleteModel
    {
        /// <summary>
        /// 销售订单主报文
        /// </summary>
        public class mainTableList
        {
            public int ddzt { get; set; }//订单状态
            public string ddbh { get; set; }//订单编号
            public string djnm { get; set; }//订单内码               
        }
        /// <summary>
        /// 销售订单明细报文
        /// </summary>
        public class detailList
        {
            public operate operate { get; set; }
            public dataList data { get; set; }

        }


        public class operate
        {
            public string action { get; set; }
            public string actionDescribe = "";
        }
        /// <summary>
        /// 销售订单明细数据报文
        /// </summary>
        public class dataList
        {
            public string erpyjfhrq { get; set; }//ERP预计发货日期
            public string id { get; set; }//CRM明细内码
            public string sczlh { get; set; }//生产指令号
            public string djtzj { get; set; }//单据体主键
            public string erpddmxnm { get; set; }//erp订单明细内码
            public string ddmxhh { get; set; }//订单明细行号

        }
    }
}
